package org.wwb.antbox.center.web;

/**
 * @Author Bond
 * @Date: 2020/3/3 16:19
 * @Description: 系统控制器路由
 */
public interface Router {

    interface PassPort {
        String LOGOUT = "passport/logout";
        String GET_LOGIN_USER_INFO = "passport/getUserInfo";
        String EDIT_LOGIN_USER = "passport/editLoginUser";
        String EDIT_LOGIN_PWD = "passport/editLoginPwd";
    }

    /**
     * 系统用户
     */
    interface SysUser {
        String INDEX = "sysUser";
        String GET_SYS_USER = INDEX + "/getSysUser";
        String GET_SYS_USER_PAGE = INDEX + "/getSysUserPage";
        String SAVE_SYS_USER = INDEX + "/saveSysUser";
        String DEL_SYS_USER = INDEX + "/delSysUser";
        String DO_EDIT_SYS_USER = INDEX + "/doEditSysUser";
        String EDIT_SYS_USER = INDEX + "/editSysUser";
        String GET_SYS_USER_ROLE_LIST = INDEX + "/getSysUserRoleList";
        String SAVE_SYS_USER_ROLE = INDEX + "/saveSysUserRole";
        String EDIT_SYS_USER_PWD = INDEX + "/editSysUserPwd";
        String GET_SYS_USER_INFO = INDEX + "/getSysUserInfo";
    }

    /**
     * 系统
     */
    interface SysSystem {
        String INDEX = "sysSystem";
        String GET_SYS_SYSTEM_PAGE = INDEX + "/getSysSystemPage";
        String GET_SYS_SYSTEM_LIST = INDEX + "/getSysSystemList";
        String SAVE_SYS_SYSTEM = INDEX + "/saveSysSystem";
        String DEL_SYS_SYSTEM = INDEX + "/delSysSystem";
        String DO_EDIT_SYS_SYSTEM = INDEX + "/doEditSysSystem";
        String EDIT_SYS_SYSTEM = INDEX + "/editSysSystem";
    }

    /**
     * 系统角色
     */
    interface SysRole {
        String INDEX = "sysRole";
        String GET_SYS_ROLE_PAGE = INDEX + "/getSysRolePage";
        String SAVE_SYS_ROLE = INDEX + "/saveSysRole";
        String DEL_SYS_ROLE = INDEX + "/delSysRole";
        String DISABLE_SYS_ROLE = INDEX + "/disableSysRole";
        String ENABLE_SYS_ROLE = INDEX + "/enableSysRole";
        String DO_EDIT_SYS_ROLE = INDEX + "/doEditSysRole";
        String EDIT_SYS_ROLE = INDEX + "/editSysRole";
        String GET_ROLE_MENU_ID_LIST = INDEX + "/getRoleMenuIdList";
        String GET_SYS_ROLE_LIST_4_TRANSFER = INDEX + "/getSysRoleList4Transfer";
    }

    /**
     * 系统菜单
     */
    interface SysMenu {
        String INDEX = "sysMenu";
        String GET_SYS_MENU_TREE_GRID = INDEX + "/getSysMenuTreeGrid";
        String GET_SYS_MENU_TREE = INDEX + "/getSysMenuTree";
        String GET_SYS_MENU_TREE4_ADD_ROLE = INDEX + "/getSysMenuTree4AddRole";
        String SAVE_SYS_MENU = INDEX + "/saveSysMenu";
        String DEL_SYS_MENU = INDEX + "/delSysMenu";
        String DO_EDIT_SYS_MENU = INDEX + "/doEditSysMenu";
        String EDIT_SYS_MENU = INDEX + "/editSysMenu";
    }
}
